import { HintCode } from "@/common/utils/enum.ts";

export type BaseReloadingType = {
    requestMethod: () => any,
    promise?: boolean,
    hint?: string,
    onSuccess?: (e: any) => any,
}

export declare type ConfirmType = {
    text?: string,
    type?: HintCode,
    onConfirm?: Function,
    onCancel?: Function
}